import http from '../utils/http'

export const routerGuard = async () => {
  try {
    let { res } = await http({
      url: '/api/users/isAuth'
    })
    return res
  } catch(err) {
    console.log(err)
  }
}
